# -*- coding: utf-8 -*-
# @Time : 2021/7/3 19:02
# @Author : 摘星星的小女孩
# @Email : wayne_lau@aliyun.com
# @File : page_ecshop_front_settlement.py
# @Project : ecshop
from selenium.webdriver.common.by import By


class PageEcshopFrontSettlement():
    def __init__(self, driver):
        self.driver = driver
        # 元素定位符loc
        self.loc_ele_settlement = (By.XPATH,"/html/body/div[7]/div[1]/table/tbody/tr/td[2]/a/img")
    #我的账户
    def ele_my_settlementr(self):
        self.driver.find_element(*self.loc_ele_settlement).click()#点击【结算中心】